home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Sep 89 / Y0046-Printing different -Sep89 < prev    next >
Encoding:
Text File  |  1989-09-12  |  822 b   |  28 lines  |  [TEXT/GEOL]

  1. Item    1806698                         11-Sept-89        23:30
  2.  
  3. From:   WILSON6                         Wilson, Dave-Personal Concepts,VCA
  4.  
  5. To:     MADA.EUROPE                     MacApp Dev Assoc Europe, E Carrasco
  6.  
  7. cc:     MACAPP.TECH$                    MACAPP Tech
  8.  
  9. Sub:    Printing different view
  10.  
  11. Daniel,
  12.  
  13. You might try this to make the printed view different from the screen view:
  14.  
  15. In your document's DoMakeViews method, define two view classes: one for screen
  16. display in the window, and the other with the Draw method you want for
  17. printing.  Pass the second view as the parameter to IStdPrintHandler, so it
  18. calls that view's Draw method when it is time to print.
  19.  
  20. Each view's Draw mthod will query your document to get the data to be
  21. displayed.
  22.  
  23. I haven't tried this, but it seems reasonable.
  24.  
  25.  
  26. Dave
  27.  
  28.